//
//(C) Copyright 2011 HongKong Airline.,Ltd. 
//
/**
 * buyguideService
 *
 * 项目名称:代购系统
 *
 * @author Mengxiangliang
 *
 * 功能描述:
 * 
 * 历史版本:2013-01-04 v1.0.0 Mengxiangliang  创建:
 * 
 */
package com.gamutsoft.amb.buyguide.service;
import java.util.List;
import java.util.Map;

import com.gamutsoft.amb.buyguide.model.Buyguide;
import com.gamutsoft.amb.common.bean.QueryExample;
import com.gamutsoft.amb.common.exception.BusinessException;
import com.gamutsoft.amb.common.service.IGenericService;



public interface IBuyguideService extends IGenericService<Buyguide,Long> {
	/**
	 * 根据条件查询记录
	 * @author Mengxiangliang
	 * @param  QueryExample
	 * @return BuyguideList
	 * @throws BusinessException
	 */
	public List<Map> searchBuyguideList(QueryExample qe) throws BusinessException;
	
	/**
	 * 根据ID查询记录
	 * @author Mengxiangliang
	 * @param Long id
	 * @return Buyguide
	 * @throws BusinessException
	 */
	public Buyguide searchBuyguideById(Long id) throws BusinessException;

	/**
	 *  删除记录
	 * @author Mengxiangliang	 
	 * @param id
	 * @throws BusinessException
	 */
	public void deleteBuyguideById(Long id) throws BusinessException;
	
	/**
	 * 修改记录
	 * @author Mengxiangliang
	 * @param domain
	 * @throws BusinessException
	 */
	public void updateBuyguide(Buyguide domain) throws BusinessException;

	/**
	 * 新增记录
	 * @author Mengxiangliang
	 * @param domain
	 * @return
	 * @throws BusinessException
	 */
	public void createBuyguide(Buyguide domain) throws BusinessException;
	/**
	 * 根据条件查询记录
	 * @author Mengxiangliang
	 * @param  QueryExample
	 * @return List<Map>
	 * @throws BusinessException
	 */
	public List<Map> searchBuyguideListByWhere(QueryExample qe,Buyguide domain) throws BusinessException ;
	
}